set(SRC ${CMAKE_CURRENT_SOURCE_DIR}/ringbuffer/ringbuffer.c
        ${CMAKE_CURRENT_SOURCE_DIR}/linuxlist/linuxlist.c
        ${CMAKE_CURRENT_SOURCE_DIR}/slinklist/slinklist.c
        ${CMAKE_CURRENT_SOURCE_DIR}/dlinklist/dlinklist.c
)
set(INC ${CMAKE_CURRENT_SOURCE_DIR}/ringbuffer
        ${CMAKE_CURRENT_SOURCE_DIR}/linuxlist
        ${CMAKE_CURRENT_SOURCE_DIR}/slinklist
        ${CMAKE_CURRENT_SOURCE_DIR}/dlinklist
)

include_directories($(INC))

add_library(structs ${SRC})

target_include_directories(structs SYSTEM PUBLIC ${INC})

message(${INC})
